package com.wn.t;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ClassPathXmlApplicationContext application = new ClassPathXmlApplicationContext(
				"config/spring/spring.xml");
//		UserService userService = (UserService) application
//				.getBean("userService");
//		List<UserVo> users = userService.getAll();
//		for (UserVo user : users)
//			System.out.println(user);
//		System.out.println(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE);
	}
}
